﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Response.Goods
{
    /// <summary>
    /// 商品详情
    /// </summary>
    public class GoodsDetails_Dto
    {
        /// <summary>
        /// 生产日期
        /// </summary>
        public string? birthday { get; set; }

        /// <summary>
        /// 小计
        /// </summary>
        public double? money { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int? number { get; set; }

        /// <summary>
        /// 活动价格
        /// </summary>
        public double? promotePrice { get; set; }

        /// <summary>
        /// 购物车数量
        /// </summary>
        public int? carCount { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? explain { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? name { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string? specs { get; set; }

        public string? time { get; set; }

        /// <summary>
        /// 商品图片
        /// </summary>
        public string? photo { get; set; }

        public string? id { get; set; }


        /// <summary>
        /// 商品类型名称
        /// </summary>
        public string? typeName { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public double? price { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        public string? imgUrl { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? supplierName { get; set; }

        /// <summary>
        /// 供应商id
        /// </summary>
        public string? s_id { get; set; }

        /// <summary>
        /// 商品总库存
        /// </summary>
        public int? inventory { get; set; }

        /// <summary>
        /// 商品销量
        /// </summary>
        public int? sales { get; set; }

        /// <summary>
        /// 剩余库存
        /// </summary>
        public int? residueInventory { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public int? isBan { get; set; }

        /// <summary>
        /// 是否上架
        /// </summary>
        public int? isShelve { get; set; }

        /// <summary>
        /// 商品类型id
        /// </summary>
        public string? tId { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int? expiryday { get; set; }

        /// <summary>
        /// 供应商地址/产地
        /// </summary>
        public string? address { get; set; }
    }
}
